﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNETDBTableAdapters;

public partial class Administration_navigation_delete : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int id = int.Parse(Request.QueryString["id"]);
        ContentTableAdapter adapter = new ContentTableAdapter();
        adapter.DeleteContentItem(id);
        Response.Redirect("index.aspx", true);
    }
}